package com.project.shangqi.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Slf4j
@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
@ConfigurationProperties(prefix = "config")
public class ConfigDto {
    private static final long serialVersionUID = 1L;

    private String host;

    private String grant_type;

    private String client_id;

    private String client_secret;

    private String scope;

    private String username;

    private String password;

    private Integer timeout;
}
